package externalflame.systemdesign.newsfeed.service;

import externalflame.systemdesign.newsfeed.dto.Page;
import externalflame.systemdesign.newsfeed.entity.Tweet;

import java.util.List;

public interface TweetService {
    public Page<Tweet> getMyTweets(Long userId, Long pageSize, Long maxId);

    Tweet postTweet(Long userId, String content);

    List<Tweet> getTimeline(Long userId, Long maxId, Long pageSize);
}
